package com.ustadzmenjawab.crawler;

public interface Crawler {

	public abstract boolean isUrlExist(String url);

	public abstract boolean isRelevantURL(String url);

	public abstract boolean isRelevantPage(String content);

	public abstract String getTitle(String body);

	public abstract String getQuestion(String body);

	public abstract String getArticle(String body);
	
	public abstract boolean insertContent(String url, String content);
	
	public abstract void insertFailure(String url, String msg);

}